package sudroid.android.views;

import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface.OnClickListener;

public class DialogUtil
{
  public static Dialog getStdAlertDialog(Context paramContext, String paramString1, String paramString2, String paramString3, String paramString4, DialogInterface.OnClickListener paramOnClickListener)
  {
    return new AlertDialog.Builder(paramContext).setTitle(paramString1).setMessage(paramString2).setPositiveButton(paramString3, paramOnClickListener).setNegativeButton(paramString4, null).create();
  }

  public static Dialog getStdListAlertDialog(Context paramContext, String paramString, CharSequence[] paramArrayOfCharSequence, DialogInterface.OnClickListener paramOnClickListener)
  {
    return new AlertDialog.Builder(paramContext).setTitle(paramString).setItems(paramArrayOfCharSequence, paramOnClickListener).create();
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     sudroid.android.views.DialogUtil
 * JD-Core Version:    0.6.0
 */